package tiles;

import com.jme3.material.Material;
import com.jme3.scene.Geometry;
import com.jme3.scene.Mesh;

import utilities.IDGenerator;
import view.EViewList;
import view.View;



public class HexPerimView extends View {

	private Mesh mesh;
	private Material material;
	
	public HexPerimView(EViewList name, Material material, Mesh mesh) {
		this.mesh = mesh;
		this.name = name;
		this.material = material;
		loadInputListeners();
	}
	
	@Override
	public void update() {
		// TODO Auto-generated method stub
		
	}

	@Override
	public void initView() {
		String identifier = String.valueOf(IDGenerator.getInstance().newID().getValue());
		geometry = new Geometry(identifier, mesh);
		geometry.setMaterial(material);
		update();		
	}

	@Override
	protected void loadInputListeners() {
		// TODO Auto-generated method stub
		
	}

}
